package com.sfac.springBoot.modules.test.service;

import com.sfac.springBoot.modules.common.vo.Result;
import com.sfac.springBoot.modules.common.vo.Search;
import com.sfac.springBoot.modules.test.entity.Student;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @Description StudentService
 * @Author HymanHu
 * @Date 2022/7/1 14:59
 */
public interface StudentService {

	Result<Student> editStudent(Student student);

	Student getStudentById(int id);
	Student findAllByStudentName(String studentName);
	Result<Student> updateStudent(Student student);
	Page<Student> getStudentsBySearch(Search search);
}
